package org.example.Future;

public class Main {
    public static void main(String[] args) {
        //初始化客户端
        FutureClient futureClient = new FutureClient();
        //发送请求，请求参数zhangsan
        Date date = futureClient.request("zhangsan");
        System.out.println("请求发送成功");
        System.out.println("干其他事情");
        String result = date.getRequest();
        System.out.println("result="+result);

    }
}
